package com.ehome.poct.base.dao.banner.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 轮播图内容
 * @author muqiu
 */
@Data
@TableName(value = "test_conf_banner_item")
public class TestConfBannerItemDO extends BaseEntityOld<TestConfBannerItemDO> {
    /**
     * 主键Id
     */
    @TableId(value = "banner_item_id")
    private Long bannerItemId;

    /**
     * 轮播图方案ID
     */
    @TableField(value = "banner_plan_id")
    private Long bannerPlanId;

    /**
     * 图片地址
     */
    @TableField(value = "img_url")
    private String imgUrl;

    /**
     * 图片顺序
     */
    @TableField(value = "img_order")
    private Integer imgOrder;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
}